﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewList.ascx.cs" Inherits="DM.Web.ViewList" %>
<%@ Import Namespace="DM.DAO" %>
<asp:Repeater ID="Repeater2" runat="server">
    <ItemTemplate>
        <div class="repeatList">
            <div class="imageList">
                <a href='<%#"../TrangTinTuc.aspx?id="+Eval("Ma") %>'><img alt="" width="130px" height="100px"  src='<%#ImageUrl(Eval("Ma").ToString())%>'/></a>
                <span style="color:#145066">Ngày đăng: </span><span style="color:#848484"><%#Eval("NgayDang","{0:dd/MM/yyyy}") %></span><br /><br />
            </div>
            <div class="content">
                <h4><a href='<%#"../TrangTinTuc.aspx?id="+Eval("Ma") %>'><asp:Label ID="lbTieuDe" runat="server" Font-Size="10pt" Text='<%#Eval("TieuDe") %>'></asp:Label></a></h4>
                <p><asp:Label ID="lbTinTuc" runat="server" Font-Size="14px" Text='<%#Eval("Mota") %>'></asp:Label></p>
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>
